SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55803: DS2 errors are not reported when DS2 code is executed in the SAS® Federation Server

DetailsHotfixAboutRate It

The SAS Federation Server enables you to execute DS2 code from within a Java application. In order to do this, you use Java SQL CALL statements to create a JDBC call to the SAS Federation Server. In the JDBC call, you specify which DS2 code you want to run as well as the location within the SAS Federation Server where the DS2 code is stored. This method of executing DS2 code is used by SAS solutions such as SAS® Real-Time Decision Manager.

If errors occur during execution of the DS2 code, the errors are not logged as they would be for PROC DS2 execution within Base SAS®.

To work around this problem, add the following logger to your SAS Federation Server logging configuration file (dfs_log.xml or dfs_log4sas.xml):

<logger name="App.Statement.Statement.GetDiagRecs">
       <level value="trace"/>
    </logger>

Adding these lines causes SAS Federation Server to log all of the DS2 SQL statement diagnostic records to the SAS Federation Server log file. If the diagnostic records are not sufficient, you can install a hot fix for SAS Federation Server that provides improved DS2 logging.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
DatafluxDataFlux Federation ServerMicrosoft® Windows® for x643.2
Microsoft Windows 8 Enterprise 32-bit3.2
Microsoft Windows 8 Enterprise x643.2
Microsoft Windows 8 Pro 32-bit3.2
Microsoft Windows 8 Pro x643.2
Microsoft Windows 8.1 Enterprise 32-bit3.2
Microsoft Windows 8.1 Enterprise x643.2
Microsoft Windows 8.1 Pro3.2
Microsoft Windows 8.1 Pro 32-bit3.2
Microsoft Windows 95/983.2
Microsoft Windows 2000 Advanced Server3.2
Microsoft Windows 2000 Datacenter Server3.2
Microsoft Windows 2000 Server3.2
Microsoft Windows 2000 Professional3.2
Microsoft Windows NT Workstation3.2
Microsoft Windows Server 2003 Datacenter Edition3.2
Microsoft Windows Server 2003 Enterprise Edition3.2
Microsoft Windows Server 2003 Standard Edition3.2
Microsoft Windows Server 2003 for x643.2
Microsoft Windows Server 20083.2
Microsoft Windows Server 2008 R23.2
Microsoft Windows Server 2008 for x643.2
Microsoft Windows Server 2012 Datacenter3.2
Microsoft Windows Server 2012 R2 Datacenter3.2
Microsoft Windows Server 2012 R2 Std3.2
Microsoft Windows Server 2012 Std3.2
Microsoft Windows XP Professional3.2
Windows 7 Enterprise 32 bit3.2
Windows 7 Enterprise x643.2
Windows 7 Home Premium 32 bit3.2
Windows 7 Home Premium x643.2
Windows 7 Professional 32 bit3.2
Windows 7 Professional x643.2
Windows 7 Ultimate 32 bit3.2
Windows 7 Ultimate x643.2
Windows Millennium Edition (Me)3.2
Windows Vista3.2
Windows Vista for x643.2
64-bit Enabled AIX3.2
64-bit Enabled Solaris3.2
HP-UX IPF3.2
Linux for x643.2
Solaris for x643.2
SAS SystemSAS Federation ServerMicrosoft® Windows® for x644.14.29.4 TS1M0
Microsoft Windows 8 Enterprise x644.14.29.4 TS1M0
Microsoft Windows 8 Pro x644.14.29.4 TS1M0
Microsoft Windows 8.1 Enterprise 32-bit4.14.29.4 TS1M0
Microsoft Windows 8.1 Enterprise x644.14.29.4 TS1M0
Microsoft Windows 8.1 Pro 32-bit4.14.29.4 TS1M0
Microsoft Windows 8.1 Pro x644.14.29.4 TS1M0
Microsoft Windows 104.14.29.4 TS1M0
Microsoft Windows Server 2008 R24.14.29.4 TS1M0
Microsoft Windows Server 2008 for x644.14.29.4 TS1M0
Microsoft Windows Server 2012 Datacenter4.14.29.4 TS1M0
Microsoft Windows Server 2012 R2 Datacenter4.14.29.4 TS1M0
Microsoft Windows Server 2012 R2 Std4.14.29.4 TS1M0
Microsoft Windows Server 2012 Std4.14.29.4 TS1M0
Windows 7 Enterprise x644.14.29.4 TS1M0
Windows 7 Professional x644.14.29.4 TS1M0
64-bit Enabled AIX4.14.29.4 TS1M0
64-bit Enabled Solaris4.14.29.4 TS1M0
HP-UX IPF4.14.29.4 TS1M0
Linux for x644.14.29.4 TS1M0
Solaris for x644.14.29.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.